async function helloWord() {
    let string =  await getString()
    console.log(string);
}

function getString() {
    return new Promise((resolve, reject) => {
        setTimeout(()=>{
            resolve('hello-world')
        },5000)
    })
}

export default helloWord